import request from '@/utils/request'


// 申请修改联系人
export function applyUpdate(data) {
  return request({
    url: '/office/contacts',
    method: 'post',
    data: data
  })
}
// 申请修改联系人列表
export function contractList(query){
  return request({
    url: '/office/contacts/list',
    method: 'get',
    params: query
  })
}

// 审批修改联系人--通过
export function contractApprove(data) {
  return request({
    url: '/office/contacts/approved',
    method: 'put',
    data: data
  })
}

// 审批修改联系人--拒绝
export function contractRefuse(data) {
  return request({
    url: '/office/contacts/refuse',
    method: 'put',
    data: data
  })
}
